
package com.insigma.business.qrcode.soldier.dao;



import com.insigma.business.qrcode.soldier.dto.PlacementInfoDO;
import com.insigma.business.qrcode.soldier.request.PlacementInfoBSearcher;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface PlacementInfoDao {

    
    List<PlacementInfoDO> search(final PlacementInfoBSearcher innerSearcher);

    
    PlacementInfoDO get(final String id);

    
    Integer insert(final PlacementInfoDO placementInfoDO);

    
    Integer update(final PlacementInfoDO placementInfoDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    PlacementInfoDO getAlivePlacement(String adminAreaCode);

    PlacementInfoDO getByAdminCodeAndYear(@Param("adminAreaCode")String adminAreaCode, @Param("year")String year);

    PlacementInfoDO getByAdminAreaCode(String adminAreaCode);
}
